package com.ruoyi.equipment.service;

import com.ruoyi.equipment.domain.LgOrderLocation;
import com.ruoyi.equipment.domain.LgTemperature;
import com.ruoyi.equipment.domain.LgVehicle;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: lek
 * @Description: TODO
 * @Date: 2025/3/5 11:27
 * @Version: 1.0
 */

public interface LgTemperatureService {
    /**
     * @author maisan
     * @description 查询所有设备信息
     * @createTime  2025/3/5 11:46
     * @param lgTemperature
     * @return
     **/

    public List<LgTemperature> selectLgTemperatureList(LgTemperature lgTemperature);

    /**
     * @author maisan
     * @description 根据id查询设备信息
     * @createTime  2025/3/5 11:46
     * @param id
     * @return
     **/
    public LgTemperature selectLgTemperatureById(Integer id);

    /**
     * @author maisan
     * @description 修改设备信息
     * @createTime  2025/3/5 11:46
     * @param lgTemperature
     * @return
     **/
    public int updateLgTemperature(LgTemperature lgTemperature);

    /**
     * @author maisan
     * @description 新增设备信息
     * @createTime  2025/3/5 11:46
     * @param lgTemperature
     * @return
     **/

    public int insertLgTemperature(LgTemperature lgTemperature);

    /**
     * @author maisan
     * @description 根据id删除设备信息
     * @createTime  2025/3/5 11:46
     * @param id
     * @return
     **/

    public int deleteLgTemperatureById(Integer id);

    /**
     * @author maisan
     * @description 根据ids删除设备信息
     * @createTime  2025/3/5 11:46
     * @param id
     * @return
     **/

    public int deleteLgTemperatureByIds(Integer[] id);

    /**
     * @author maisan
     * @description 查询车辆信息
     * @createTime  2025/3/6 17:15
     * @param
     * @return
     **/
    public LgVehicle selectVehicleById(Integer id);

    /**
     * @author maisan
     * @description 更新车辆信息
     * @createTime  2025/3/6 17:15
     * @param
     * @return
     **/
    public int updateVehicle(LgVehicle lgVehicle);

    /**
     * @author maisan
     * @description //TODO 查询所有车辆信息
     * @createTime  2025/3/12 11:17
     // * @param [com.ruoyi.equipment.domain.LgVehicle]
     * @return java.util.List<com.ruoyi.equipment.domain.LgVehicle>
     **/
    List<LgVehicle> selectLgVehicleList(LgVehicle lgVehicle);

    /**
     * @author maisan
     * @description //TODO 已被绑定设备的订单经纬度信息
     * @createTime  2025/3/12 11:17
     * @param
     * @return
     **/
    int insertOrderLocation();

    List<LgTemperature> getTemperatureByOrder(Integer stockOrderNumber);
    List<LgTemperature> getTemperatureByOrderGo(Integer stockOrderNumber);

}
